package com.sunni.entity;

import lombok.*;

import java.util.Date;
import java.util.List;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;
    private String name;
    private String address;
    private Date birthday;

    private List<Order> orderList; /*一对多 ： 订单集合*/
}
